package cn.kgc.tushu.entity;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 创建员工类：属性有：图书编号，图书名称，图书价格，图书状态
 */
public class Emp implements Serializable {
    private int id;         //图书编号
    private String name;        //图书名称
    private double price;       //图书价格
    private int zhuangTai;      //图书状态  1、已借出 2、可以借
    private Date day;       //图书创建日期

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getZhuangTai() {
        return zhuangTai;
    }

    public void setZhuangTai(int zhuangTai) {
        this.zhuangTai = zhuangTai;
    }

    public Date getDay() {
        return day;
    }

    public void setDay(Date day) {
        this.day = day;
    }

    public Emp(int id, String name, double price, int zhuangTai, Date day) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.zhuangTai = zhuangTai;
        this.day = day;
    }

    public Emp() {
    }
}
